import pandas as pd

# TODO: Set weight1,weight2,and bias
weigth1 = 0.0
weigth2 = 0.0
bias = 0.0

# Don`t change anything below
# Inputs and outputs
test_inputs = [(0,0), (0,1), (1,0), (1,1)]
correct_outputs = [True, False, True, False]
outputs = []

#Generate and check output
for test_input, correct_output in zip(test_inputs, correct_outputs):
    linear_combination = weigth1 * test_input[0] + weigth2 * test_input[1] +bias
    output = int(linear_combination >= 0)
    is_correct_string = 'Yes' if output == correct_output else 'No'
    outputs.append([test_input[0], test_input[1], linear_combination, output, is_correct_string)

# Print output
num_wrong = len([output[4] for output in outputs if output[4] == 'No'])
output_frame = pd.Data